package cn.aj.org.service;

import cn.aj.org.domain.Shop;
import cn.aj.basic.service.BaseService;
import cn.aj.org.dto.ShopAuditLogDto;
import cn.aj.basic.vo.ShopEchartsVo;
import cn.aj.org.dto.ShopSettlementAginDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author aj
 * @since 2022-11-18
 */
public interface IShopService extends BaseService<Shop> {
    // 店铺入驻的接口
    void settlement(Shop shop);
    // 店铺审核
    void auditPass(ShopAuditLogDto shopAuditLogDto) throws MessagingException;
    // 审核通过
    void activate(Long id);
    // 驳回
    void auditReject(ShopAuditLogDto shopAuditLogDto);
    // 店铺二次入驻
    void settlementAgain(ShopSettlementAginDto settlementAginDto);
    // 报表
    ShopEchartsVo loadEcharts();
}
